<div class="left">
    <ul class="cl">

        <#--{{(  active = (window.location.pathname=='/client')  )?'':''}}-->
        {{(  url = window.location.pathname  )?'':''}}
        <li>
            <a href="/" :class="url=='/'?'active':''">
                <i class="layui-icon"></i>
                <span>综合信息</span>
            </a>
        </li>
        <li>
            <a href="/client" :class="url=='/client'?'active':''">
                <i class="layui-icon"></i>
                <span>终端管理</span>
            </a>
        </li>
        <li>
            <a href="javascript:;" class="">
                <i class="layui-icon"></i>
                <span>隧道管理</span>
                <i class="layui-icon arrow"></i>
            </a>

            <div v-for="c,i in clients">
                {{(  c.active=(clientKey==c.clientKey)  )?'':'' }}
                <a :href="'/client-config?clientKey='+c.clientKey" :class="c.active?'active':''">{{c.name}}</a>
                <i :class="['layui-icon',c.active?'active':'hidden']"></i>

            </div>

        </li>
        <#--<li class="">
            <a href="javascript:;" class="">
                <i class="layui-icon"></i>
                <span>退出登录</span>
                <i class="layui-icon arrow" style="display: none;"></i>
            </a>
        </li>-->

    </ul>
</div>
<script>

</script>